package com.bw.attendance.sign

import com.blankj.utilcode.util.TimeUtils
import com.bw.attendance.R
import com.bw.attendance.sign.entity.SignEntity
import com.bw.quickadapter.BaseQuickAdapter
import com.bw.quickadapter.BaseViewHolder

class SignAdapter : BaseQuickAdapter<SignEntity.SignValues>(R.layout.item_sign) {
    override fun convert(holder: BaseViewHolder?, item: SignEntity.SignValues?) {
        holder!!.let {
            it.setText(R.id.sign_item_time,TimeUtils.millis2String(item!!.SignTime))
            it.setText(R.id.sign_item_address,"天津")
        }
    }
}